package com.qf.FinancialManagement.service.Impl;

import com.qf.FinancialManagement.domain.TmsAll;
import com.qf.FinancialManagement.mapper.TmsAllMapper;
import com.qf.FinancialManagement.service.TmsAllService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * ---好运常在---
 *
 * @author ChengShuaiKe
 * @date 2025/9/4 0004
 * @desc
 */
@Service
public class TmsAllServiceImpl implements TmsAllService {
    @Autowired
    private TmsAllMapper tmsAllMapper;
    @Override
    public List<TmsAll> selectAll(Map<String, Object> params) {
        return tmsAllMapper.selectAll(params);
    }

    @Override
    public int deleteTmsAllByIds(Long[] ids) {
        return tmsAllMapper.deleteTmsAllByIds(ids);
    }

    @Override
    public TmsAll selectTmsById(Long id) {
        return tmsAllMapper.selectTmsById(id);
    }

    @Override
    public int update(TmsAll tmsAll) {
        return tmsAllMapper.update(tmsAll);
    }

    @Override
    public int add(TmsAll tmsAll) {
        return tmsAllMapper.add(tmsAll);
    }
}
